Add function of deleting provider