updated time fcn