update history object