update the submenu