# OnUpdate()

> Executes the command buffers in this system in the order they were created.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Entities](/engine/7000.0/script-reference/unity/entities.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
protected override void OnUpdate()
```

### Remarks

If you override this method, you should call `base.OnUpdate()` to retain the default update logic.
