---
title: "update document · RUAL Documentation"
description: "Update document in the given storage and creates a revision for it."
canonical: https://docs.rual.nl/block-types/storage/function_update_document_mutations
language: en
---

# update document

This block is part of the [`storage`](https://docs.rual.nl/block-types/storage) group and was last modified in core [`v13.0.9`](https://docs.rual.nl/core-versions/130009).

Update document in the given storage and creates a revision for it.

- flow `flow`

- guid required `value`

- mutations required `mutations`

- expiry `date`

- options `object`

- update priority `priority` `number`

- Storage required `storage`

- flow `flow`

- success `condition`

- guid `value`

- document `object` `object`

- timestamp `number`

- error `value`

- has changes `has_changes` `condition`

### Core Releases
