update pubnub integration