update pubnub library