updated time method