data sync with server works