How to Update the Triggering Record in Before Save Record Triggered Flow
Both the Assignment and Update Records elements can modify the triggering record in a before save record triggered flow. Furthermore, neither of them consumes from the DML limits.