Synchronising with the remote server