---
updatedAt: 2026-03-19T18:26:57.000Z
agentTools:
  projectIndex: https://developers.miro.com/llms.txt
---

# 2) Update an item's properties with `sync()`

In the second task of the guided onboarding, you modify and then update board items with the `sync()` method.

[block:html]
{
  "html": "<label for=\"file\"><strong>Progress:</strong></label><br>\n<progress id=\"file\" value=\"20\" max=\"100\" data-guide-id=\"2\"> 20% </progress>"
}
[/block]

## Time to complete

<span><img alt="Time to complete" src="https://files.readme.io/1db0e9f-time-clock-blue-2.svg" width="24" ></span> \~5 minutes

## Learning objective

<span><img alt="Learning objective" src="https://files.readme.io/caef76f-learn-engineering-wrench-color.svg" width="24" ></span> After completing this onboarding task, you'll be able to:

* Initiate and manage updates to board items using the `sync()` method.

Let’s update the properties of a board item and see the changes take place.

### Action: update your sticky note

Review the snippet in the code editor below and **run** it. The code below will:

1. Update your sticky note's color to light blue.
2. Change your sticky note's position to x = 100, y = 100.

**ℹ️ Note:** Updates require two steps:

1. Change the property value.
2. Call `sync()` on the item to make the changes effective.<br>

[block:html]
{
  "html": "<div class=\"code-editor\">\nconst stickyNote = await miro.board.createStickyNote({\n  content: 'Hello'\n});\n\n// First, you change the values of the properties you want to update.\nstickyNote.content = 'Updated sticky note';\nstickyNote.style.fillColor = 'light_blue';\nstickyNote.x = 100;\nstickyNote.y = 100;\n\n// Second, you sync the item to make the changes effective.\nawait stickyNote.sync();\n</div>"
}
[/block]

## Let's wrap up

<span><img alt="Let's wrap up" src="https://files.readme.io/56bd1f3-lets-wrap-up-color.svg" width="24" ></span> In this onboarding task, you:

* Updated the properties of an existing item on a Miro board, using the `sync()` method.

Now that you've updated your sticky note, let's run an app inside a Miro board!

## See also

* [Web SDK: Update and sync item properties](https://developers.miro.com/docs/update-and-sync-item-properties)

[block:html]
{
  "html": "<div class=\"js-guide-complete\" data-guide-id=\"2\"></div>"
}
[/block]

# Sibling pages

* [1) Create your first board item with the Web SDK](https://developers.miro.com/miro-ea/docs/task-1-create-your-first-board-item-with-the-web-sdk.md)
* [3) Run your first app in Miro](https://developers.miro.com/miro-ea/docs/task-3-run-your-first-app-in-miro.md)
* [4) Interact with your app in Miro](https://developers.miro.com/miro-ea/docs/task-4-interact-with-your-app-in-miro.md)
* [5) Join the conversation](https://developers.miro.com/miro-ea/docs/task-5-join-the-conversation.md)
* [6) Install a Marketplace app](https://developers.miro.com/miro-ea/docs/task-6-install-a-marketplace-app.md)
* [7) Add Mirotone to an existing app](https://developers.miro.com/miro-ea/docs/task-7-add-mirotone-to-an-existing-app.md)
* [Onboarding wrap-up](https://developers.miro.com/miro-ea/docs/onboarding-wrap-up.md)
* [Challenge: Where's Miro?](https://developers.miro.com/miro-ea/docs/challenge-wheres-miro.md)

# What's next

In the third task of the guided onboarding, you create and run an app on a board.

* [Task 3: run your first app in Miro](https://developers.miro.com/miro-ea/docs/task-3-run-your-first-app-in-miro.md)