<!--
{
  "availability" : [
    "macOS: 10.14.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHProjectExtensionContext/updatedProjectInfo(from:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHProjectExtensionContext(im)updatedProjectInfoFromProjectInfo:completion:"
  },
  "title" : "updatedProjectInfo(from:completion:)"
}
-->

# updatedProjectInfo(from:completion:)

Creates an updated [`PHProjectInfo`](/documentation/PhotosUI/PHProjectInfo) instance from existing project information and current assets.

```
func updatedProjectInfo(from existingProjectInfo: PHProjectInfo?, completion: @escaping (PHProjectInfo?) -> Void) -> Progress
```

## Parameters

`existingProjectInfo`

The project information to update. If this is not `nil`, a new [`PHProjectInfo`](/documentation/PhotosUI/PHProjectInfo) instance is created from all assets in the [`PHProject`](/documentation/Photos/PHProject).

`completion`

A closure with code you provide that runs on completion.

---

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)