add history entry