Update history.txt.