updates the button style