Update the history.