add information to history files