The brain edits memories of the past, updating them with new information. Scientists say this may help us function better in the present. But don’t throw those photos away.