How does the cloud synchronization work?