Update db every 30 seconds