Indeed, the slots, when flashing system updates from twrp, switch. However, this method works great for me. The sequence of my actions:OK, but do I flash it from slot b, as this will be the default one when booted to recovery? From my experience switching slots breaks the install.
1. Download system update.
2. Reboot to recovery (twrp).
3. Flash system update.
4. Flash twrp-installer.
5. Reboot to system.
6. Reboot to recovery (twrp).
7. Flash magisk.
8. Reboot to system.
9. All done, profit for me
P.S. I’m not using google services.