update time with Time
revert time structure