---
title: "update(_:)"
framework: watchkit
role: symbol
role_heading: Instance Method
path: "watchkit/wkinterfacecontroller/update(_:)"
---

# update(_:)

Registers the current user activity with the system.

## Declaration

```swift
func update(_ userActivity: NSUserActivity)
```

## See Also

### Coordinating Handoff activity

- [invalidateUserActivity()](watchkit/wkinterfacecontroller/invalidateuseractivity().md)
