update time example