Updates clock value
cleanup