Added edit menu_item functionality