managing submenu using submenu model