---
title: update()
framework: storekit
role: symbol
role_heading: Instance Method
path: storekit/product/promotioninfo/update()
---

# update()

Saves your changes to the promoted product’s visibility.

## Declaration

```swift
func update() async throws
```

## Mentioned in

Supporting promoted In-App Purchases in your app

## Discussion

Discussion If you change the visibility value by setting it directly, call update() to save your changes to the App Store server. Changes take effect after you call update() or updateAll(_:).

## See Also

### Updating order and visibility

- [updateAll(_:)](storekit/product/promotioninfo/updateall(_:).md)
