change timestamp to currenttimestamp