---
title: "updateItems(_:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpmappanelsection/updateitems(_:)"
---

# updateItems(_:)

Update the items in this section. If this section is currently visible in a panel, the panel will refresh to show the new items.

## Declaration

```swift
func updateItems(_ items: [CPMapPanelItem])
```

## Parameters

- `items`: The new array of items to display in this section.
