update history log