update histor