Add history record