manage the delete of a feature