Synchronization now works properly in both directions