Update history file.