# update_ui()

Updates the currently open Fast Ref UI with the latest data. Has no effect if the UI is not open.

### Signature
```python
api.update_ui() -> None
```

### Example
```python
from os_fast_ref.api import FastRefAPI

api = FastRefAPI()

# Refresh UI after API operations
api.set_space_activate(slot=0, on=False)
api.set_space_activate(slot=1, on=False)
api.update_ui()
```
> **Note:** When performing multiple API operations while Fast Ref UI is open, call `update_ui()` at the end so the UI reflects the latest data.

---