Managed to update the colors with a setInterval, now looking into accessing the database