when color is set, it needs to call the update function so it registers.