edit for menu and menudetail