That is what Android is doing. You can read up on it here: https://source.android.com/devices/tech/ota/ab?hl=en
That is what Android is doing. You can read up on it here: https://source.android.com/devices/tech/ota/ab?hl=en