add example to show how set_leds & update_leds work