saved updates to history and env