Updated deletes in waste function