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" */
}
status:
  type: text
  label: Status
  disabled: true
kirby()->impersonate('kirby');
$page->update(['status' => 'whatever']);
1 Like

I love kirby!