defined delete function in subscriptions model