> ## Documentation Index
> Fetch the complete documentation index at: https://helix-digitalocean.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# E604

# Update Restriction

## Erroneous Code Example

This error occurs when you try to perform an update operation on something other than nodes or edges.

In this example, the `update` step is used on a vector type which is not allowed **yet**.

<CodeGroup>
  ```rust queries.hx theme={null}
  Query updateVector(vectorId: ID) =>
      vector <- V<Vector>(vectorId)::UPDATE({field1: "updated value"})
  ```

  ```rust schema.hx theme={null}
  V::Vector {
      field1: String,
  }
  ```
</CodeGroup>
