update menu method for modules