<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaIntelligence",
  "identifier" : "/documentation/MediaIntelligence/FaceGroupAnalyzer/update(subprogress:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence17FaceGroupAnalyzerC6update11subprogressy10Foundation11SubprogressVSgn_tYaKF"
  },
  "title" : "update(subprogress:)"
}
-->

# update(subprogress:)

Clusters faces into entities and updates their assignments.

```
nonisolated(nonsending) final func update(subprogress: consuming Subprogress? = nil) async throws
```

## Parameters

`subprogress`

An optional subprogress object for
reporting progress to a parent `Progress`.

## Discussion

Call this method after ingesting assets with
[`insertOrUpdateAssets(_:)`](/documentation/MediaIntelligence/FaceGroupAnalyzer/insertOrUpdateAssets(_:)) to run the face
clustering algorithm. When this method completes, every face has a
non-nil [`entityID`](/documentation/MediaIntelligence/FaceGroupAnalyzer/Face/entityID) and
[`state`](/documentation/MediaIntelligence/FaceGroupAnalyzer/state-swift.property) returns
[`FaceGroupAnalyzer.State.ready`](/documentation/MediaIntelligence/FaceGroupAnalyzer/State-swift.enum/ready).

If the analyzer is already up to date, this method returns
immediately without performing any clustering.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)