> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmodus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# modus scopes memories update

> Update a memory (replacement text and/or metadata).

Update a memory (replacement text and/or metadata).

## Usage

```bash theme={null}
modus scopes memories update [flags]
```

## Arguments

| Name       |          | Description |
| ---------- | -------- | ----------- |
| `id`       | required | Scope id.   |
| `memoryId` | required | Memory id.  |

## Flags

| Flag       | Type   | Description                                  |
| ---------- | ------ | -------------------------------------------- |
| `--file`   | string | Path to a JSON file with update fields.      |
| `--body`   | string | Read update fields as JSON from stdin ('-'). |
| `--memory` | string | Replacement memory text.                     |

Global: `--pretty` — human-readable table output instead of compact JSON.

See [CLI quickstart](/guides/cli) for install and auth.
