---
title: "updateItems | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/ui-framework/widgets/design-editor-commands/update-items/"
---

# updateItems

> Updates design elements.

## Params

- `items` - a list of design elements to be updated. This command takes a `<string, object>` structure. Here, `string` is the design element name. The `object` represents key-value pairs of item properties (so-called **itemData**). For details, you can refer to the description of [ItemsData](https://customerscanvas.com/docs/on-premises/design-editor/apis/personalized-rendering.md#itemsdata).

For the complete list of parameters, you can refer to [IUpdateItemsCommandDefinition](https://customerscanvas.com/docs/on-premises/ui-framework/widgets/reference/au-widget-design-editor.IAuWidgetDesignEditor.md#iupdateitemscommanddefinition).

## Example

```json
{
    "name": "design-editor",
    "type": "design-editor",
    "params": {
        "initial": { ... },
        "updateItems": {
            "items": {
                "header": {
                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit ...",
                    "font": {
                        "{{#new BaseTextItem.FontSettings}}": ["ArialMT", 36]
                    }
                }
            }
        }
    }
}
```
