Update Rev3

changed sync to operate in the handleclock call back