update for new protocol pubnub