# Update

> Send a notification for tile (update tiles look).

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.WSA](/engine/6000.6/script-reference/unityengine/wsa.md)
* **Assembly:** UnityEngine.CoreModule

## Update(string)

Send a notification for tile (update tiles look).

```csharp
public void Update(string xml)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A string containing XML document for new tile look.

### Remarks

A tile is updated by providing and XML document with new look. The second version is a convenience method to make tile display image, text or both. At least one of medium and text argumets must be provided, and these two are used to determine whether this is image-only, text-only or image-and-text tile. Uris ms-appx:/// and ms-appdata://local can be used to access local application resources. If uri points to network resource, internet access capability must be enabled in applications manifest.

## Update(string, string, string, string)

Send a notification for tile (update tiles look).

```csharp
public void Update(string medium, string wide, string large, string text)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): An `uri` to 150x150 image, shown on medium tile.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): An `uri` to a 310x150 image to be shown on a wide tile (if such issupported).**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): An `uri` to a 310x310 image to be shown on a large tile (if such is supported).**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): A text to shown on a tile.

### Remarks

A tile is updated by providing and XML document with new look. The second version is a convenience method to make tile display image, text or both. At least one of medium and text argumets must be provided, and these two are used to determine whether this is image-only, text-only or image-and-text tile. Uris ms-appx:/// and ms-appdata://local can be used to access local application resources. If uri points to network resource, internet access capability must be enabled in applications manifest.
