update button output