Updating the menu and allowing for nested menus