add plugin delete method