I have made the corrections.
fastboot flash boot.img (the original not the patched)
Rooted the device according to the insctructions, boot temporarily to with the patched boot.img.
Start to uptdate according to the insctructions.
In Magisk when “Install to Inactive Slot (Atfer OTA)”, I got the log at the end:
! Unable to download bootctl
! Installation failed
What should I do now?