update historyExample