Update time.