> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Check for Update

Call the following function to check if a new version of your app is available. If possible, we recommend running this check during the game's boot process.

```csharp theme={"system"}
UpdateController.Instance.CheckForUpdates();
```

This method triggers the `onUpdateStatus` callback and passes an `UpdateStatusModel` object as an argument. The object includes the following properties:

| Property | Type | Description |
| - | - | - |
| `isUpdateAvailable` | `boolean` | Whether an update is available. |
| `versionName` | `string` | The name of the new version, if available. |
| `versionCode` | `int` | The code of the new version, if available. |
| `downloadUrl` | `string` | The download URL for the new version. This link is valid for 30 minutes. |
| `type` | `string` | The type of update, `SOFT` or `HARD`. |
| `message` | `string` | A message to display to the player. |
| `fallbackUrl` | `string` | A fallback URL for players to download the APK manually. Used in case of internal errors or update installation failures. |
| `fallbackMessage` | `string` | A fallback message to display to the player. |
| `packageName` | `string` | The package name of the updated version. |
