Add prepareSave callback to modify recordsets before saving