UPDATE events SET payload = json_set(payload, '$.handoff', json('true')) WHERE kind = 'user.message' AND actor = 'byre' AND json_extract(payload, '$.text') LIKE 'Write a handoff for a fresh %';