reorganizing the menu
support deleting an instance