update menu and menu groups