Implement syncing with server