modify the menu only can contain menuitem