improved sync methods for server communication from the client.