> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/nedyx/clearlines-functions/widget-functions/update.md).

# UPDATE

#### Syntax <a href="#syntax.60" id="syntax.60"></a>

**UPDATE**(*widget*)

* *widget* - the widget which should be updated - ***Value type**: widget reference*

#### Remarks

* After calling **UPDATE** for a widget, the Content formula is executed to calculate the new widget content.

#### Example

In this example, cell1 is calculated with the **RAND** function. Every time the "UPDATE" button is clicked, cell1 is filled with a new random number.

<figure><img src="/files/hhwvkmM6RbplHxL14htk" alt=""><figcaption></figcaption></figure>
