change WebSocket endpoint