Offline support and online synchronization