updated time measuring