Minor issues with the syncing (yes due to the ordering of the parameters, and minor slip in the newtimestamp stored proc)