Synchronizing two key-value containers