---
title: nrUpdateConfig
source: https://docs.newrelic.com/docs/streaming-video-&-ads/installation/roku/agent-api/configuration/nrupdateconfig
---

## Syntax

```js
  nrUpdateConfig(nr as Object, config as Object) as Void
```

## Description

Updates configuration, such as network proxy URL.

## Arguments

| Arguments | Description             |
| --------- | ----------------------- |
| `nr`      | New Relic Agent object. |
| `config`  | Configuration object.   |

## Return

Nothing.

## Example

```js
  	config = { proxyUrl: "http://example.com:8888/;" }
	  nrUpdateConfig(m.nr, config)
```
