Updated DBSyncService for new api format