Add doc on using pubsub