Researchers have discovered how the brain manages to switch between older and newer memories. This process helps humans and animals adapt to changing environments while still keeping useful older memories.