Xiaomi ships weekly updates on the developer ROM and monthly on the stable release. All phones are on current monthly security Android release.
They don't update all phones to newer Android versions, but they do backport MIUI and security patches to older ones. Which is perhaps even better, since older devices don't get bogged down with newer Android releases.