your question is unclear, I tried to install rom from twrp with and without Magisk.
Now backup from twrp nad then I will try again with clean flash from twrp formatting the phone.
I had a K20, trying to install last update result in bootloop or reboo tin twrp 3.4.0.0.
If try to install also last Magisk beta reboot in fastboot.
No way to restart in miui :(