Updated time measurement