syncing the db