update history thing