update the button