leds: after setting inverted attribute, we must update the LED