updating for leds