modify the history