add synchronization with server