Syncing DB every 10 seconds