# Update

> When a EntityTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

## Definition

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

## Update(SystemBase)

When a EntityTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

```csharp
public void Update(SystemBase system)
```

### Parameters

**** (\[SystemBase]\(/engine/7000.0/script-reference/unity/entities/systembase)): The system on which this type handle is cached.

## Update(SystemState)

When a EntityTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

```csharp
public void Update(ref SystemState state)
```

### Parameters

**** (\[SystemState]\(/engine/7000.0/script-reference/unity/entities/systemstate)): The SystemState of the system on which this type handle is cached.
