update history format