Update time value