> For the complete documentation index, see [llms.txt](https://urchin.gitbook.io/overview/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://urchin.gitbook.io/overview/api-reference/asset/.asset.update.md).

# .asset.update()

### Function Example

```javascript
/// Create instance
const connection = urchin(...config); 

// Create asset
const connection.asset.update([...AssetUpdateInput]);


```

### Parameters for AssetUpdateInput

| label (\* required) | description                               | type      | default | valid values |
| ------------------- | ----------------------------------------- | --------- | ------- | ------------ |
| publicKey\*         | reference to target address               | PublicKey |         |              |
| original\*          | reference to file location                | string    |         |              |
| immutable\*         | prevent all future updates of this record | boolean   | false   |              |
| archived            | Flag that record is no longer in use      | boolean   | false   |              |

### Response Example

```javascript
[
  {
  	original: "./img.jpg"
    }
  }
]
```
