updating leds example