sync offline data from server to app