Redmi 4a completed its two years so now Xiaomi will not provide any more Android updates including security updates.  Also,  as per xiaomi policy,  redmi phones get only one android version update.
If you want to use newer versions,  try some custom rom.