lab2: time update