Yeah I updated to the latest MIUI 12.5 for my device after fastboot flashing of an older version. I had problem with using TWRP directly for the latest version so I tried the latest fastboot version then just upgraded to latest version via TWRP. Maybe I just forgot to clear data during 1st installation via TWRP which resulted in a soft brick.