update in pubnub