If you have already updated and are stuck in a bootloop, simply flash the uninstaller and update to version 17.1. These bootloops were caused by a database incompatibility issue coming from version 16.0, so uninstalling and reinstalling Magisk is really the only option