updating the button states