update button controls