Why nonsense?
Fact is, you don't need to upgrade twrp by flashing it, it's sufficient to boot it, then flash the desired Rom, after either reboot (same branch) or format data ( official -> xiaomi.eu or stable <> weekly)
The Rom installation will install and make persistent the twrp on your...