update and display button/light state