update led output