I did that once, ended up on bootloop. I recommend removing all modules, removing magisk, flashing stock kernel and dtbo. Then updating.For who is rooted, and just wants to OTA update to get rid of the annoying message requesting to update (and update will fail with some phone is in use type message), you can try to follow this guide
You have to uninstall magisk in restore image mode, that way you can OTA update (it won't fail), then DO NOT press on restart, seriously make sure you DO NOT restart, and install magisk back from magisk manager, then and only then it's safe to restart, it will take a while for the first boot, just let it do it's thing.Follow this detailed guide to install OTA updates on Rooted Android devices using Magisk without losing root. You will also be able to retain TWRP after the OTA.www.thecustomdroid.com
Are you trying to downgrade from OOS11 to OOS10? If yes, the downgrade zip will wipe everything.