updated time code