Adding an update method to sync client.

Motivation:
This is to enable a client reconnecting after being offline to send any
edits that have been produced while offline.