updated pubsub record
fixed spec error