# ModelState

The ModelState class is used to update app-wide model states. It's mainly used in the `ModelCommit` class to update the state of the given model after the action has been executed.

****

- Full class name: `Kirby\Cms\ModelState`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cms/ModelState.php#L17>

****

### ModelState

- [ModelState::update()](https://getkirby.com/docs/reference/objects/cms/model-state/update.md)