Database synchronization library