Added synchronization with server