# tui/pie-update
Re-evaluate the calling panel's `get-pie` function and store its result as the app pie. No-op when `get-pie` is not defined. Mirror of `tui/menu-update`.
## Syntax
[tui/pie-update]
## Examples
def on-refresh {|| [tui/pie-update] # rebuild the pie from current app state }
## Returns
bool — true when `get-pie` resolved to a closure that returned a map and the pie was stored; false when no workspace/runtime is available, `get-pie` is undefined or not a closure, or the result isn't a map.
## See Also
`tui/set-pie`, `tui/menu-update`, `tui/set-menu`