When you upgrade something first you better make sure it's still got enough airframe life to make the upgrades worth it.
Anyway, I would think that the old Su-27s might end up in some backwater base and regiment, and probably already is, that would be one of the regiments of the 6th Division, which is located in Lanzhou. Probably a mix of J-11s and old Su-27s as some speculate. The Su-27s may have originally came from the 2nd Division, but for a period there, they were still with the 2nd for a time, but that regiment in the 2nd Division may now have completely upgraded to J-11s and the older Sues moved to the overhaul and reserve. We're not talking of the UBKs here, which are still Russian made and is still found in "pure" J-11 regiments (no Russian made Su-27s.)
The earliest batch of Su-27s now reside in one of the regiments of the 19th Division in Jinan MR. They use to come from the 3rd Division and is the first batch of Su-27s that came to China. They appeared to have been overhauled and renumbered ever since. They appeared to still be in active service with the 19th Division alongside J-11s but I presume the 19th might shift entirely to J-11s and move the older Sues elsewhere like the 2nd Division.
The oldest Su-27UBKs should still be around in the active regiments because they are still so busy training nuggets. These have been overhauled and repainted, probably renumbered as well, so you can't track them via the pictures anymore, except for one or two clue signs.
As for the upgrades, a company called Technocomplex sent more than 100 upgrade kits that would enable the J-11s to use the R-77. They probably all went to the J-11s, but not the older Su-27s. The last batch of 28 UBKs which went to the 33rd but is now distributed, had the upgrade preinstalled.
The OLS-31E is probably going for the newest J-11s.
It is disappointing that the J-11s stuck to the L006 Beryoza RWR for so long, instead of the superior L015 Pastel RWR as used on the MKK. You can identify the Beryoza by the blade like extension you can see on the side of the engine tunnel near the intake. The MKKs do not have them, instead the Pastel is hidden inside the wing edge.
It would be nice to see the J-10's RWR on the J-11B, though my impression is that at least the earlier ones might still be using the Beryoza, which is tried and true but a bit outdated now.
We need to observe the newest J-11s more for the RWR. The J-10 style RWR would be like those blisters near the canopy like you see in the J-10, though these can be located anywhere in the plane. The Beryoza RWR would be those blades near the engine intake, whereas if the plane does not have those blades, or lack the J-10 style blisters anywhere, it may be the Pastel RWR that is being used.
The EW suite is also a disappointment. The Russians originally sold China the Gardenia pods instead of the phase array Sorbitsya, which is better and is used on their own RuAF Su-27S. Later the Russians did sell the much newer Omul pod with the MKKs, and I presume that the J-11s may have upgraded to the Omuls, or use a Chinese ECM that is similarly shaped into a compatible pod. I don't know if China ever bought Sorbitsya pods at a later time or date on a seperate contract from the original contract purchases, but it is often considered that China had them (all three pods, Gardenia, Sorbitsya, Omul). Since the pods all look physically the same, it's hard to tell who is who.
Sukhoi did offer the Su-27SKM upgrade for the Chinese planes, which is like an MLU and includes overhaul, for 5 million a plane. But China didn't buy it, and it surprised Sukhoi who thought it would made for Chinese requirements. The SKM was also meant for the J-11s not yet built.