extended database sync queries