Update time and delta