How to use XiaomiFirmwareUpdater
XiaomiFirmwareUpdater provides you with firmware packages for every Xiaomi devices.
You can find firmware flashable files extracted from MIUI ROMs on https://xiaomifirmwareupdater.com
There are two types of firmware, Global and China, you should choose the file depends on your device.
Files are always named in the following manner:
How to update your device firmware?
Copy the downloaded firmware to your device storage and then flash it via TWRP recovery.