update button action