add delete function, update menu