add function for legacy.delete_subscribers