update the click button to generate a menu