modify pubsub