update observer pubsub lib