Add changes to history.