# Video methods: update

URL: /code/sdk/video/records-update · Id: `page:code/sdk/video/records-update`

> The Video Verbs update as typed SDK methods, with inputs, result, refusals and an example.

Reference for [Video](/business/nouns/video), one group of [Video methods](/code/sdk/video).

### Video.update
Changes the given properties of a Video. [Verb page](/business/nouns/video/update?interface=sdk).

```ts
interface VideoVerbs {
  update(input: VideoUpdateInput, options?: SB.CallOptions): SB.Call<Video>
}
```

Emits `Video.updated`.

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Video. |
| `timeline` | `json` | No | The ordered scenes on a fixed grid, the only timing truth for picture, voice and captions. |
| `brand` | [Brand](/business/nouns/brand) | No | The Brand whose voice, palette and type the Video uses. |
| `offer` | [Offer](/business/nouns/offer) | No | The Offer the Video presents, when it presents one. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `video` | [Video](/business/nouns/video) | Yes | The Video. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```ts
import { $ } from 'startup-builder'

const video = await $.Video.update({ id: 'video_xVlGG2TxBA', timeline: {} })
```