# Flush()

> Triggers a manual update of the backing file.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public void Flush()
```

### Remarks

When a change happens on the [PropertyDatabase](/engine/6000.6/script-reference/unityeditor/search/propertydatabase.md), it is stored in memory until we update the backing file. If the [PropertyDatabase](/engine/6000.6/script-reference/unityeditor/search/propertydatabase.md) is created with the flag **autoFlush** set to true, this is done automatically. If not, you have to trigger the update manually with [PropertyDatabase.Flush](/engine/6000.6/script-reference/unityeditor/search/propertydatabase/flush.md). This function is blocking until the operation completes.
