added function for deleting ingredients