Updating record with custom action
i want to update data from another model with custom action, but the result always false(not updated), So far, this is what I've done. Function save is running smoothly btw

Schedule::updateOrCreate(
['ticket_header_ticket_id' => $ticket->ticket_id],
['schedule' => $data['schedule']]
)