Update time of program