update history problem