update button show and hide bugs