Updated button on click