Update field via statement in the template

Hi everybody.
Is there an (easy) way to update or overwrite the content of a field? I saw some (for my simple mind) complex examples with update(). But I don’t get it.

if ($count >= $slots) {
  /* overwrite the content of the text field "status" */
  type: text
  label: Status
  disabled: true
$page->update(['status' => 'whatever']);
1 Like

I love kirby!