Run database sync