update histroy info