If you’ve got a type of substrate that promotes ideal conditions for African cichlids (assuming pH 8ish with increased hardness) and you are planning on keeping fish with lower pH/hardness requirements and/or doing a Planted tank, then I’d would probably switch it out. Otherwise, you can leave the substrate and UG filter as is.
If you are going to remove the UG, assuming the fish are out of there, I would first set aside some tank water in a spare bucket and run the HOB filter on it to keep the bacteria alive. Then drain the water, scoop out the gravel, remove the UG plates, and clean up the muck on the bottom. Rinse and drain the tank.