update history files