update color of buttons