add history record