edit pubsub