delete pubsub def