When plants are overwatered or left in wet soil for a long time, the roots will suffocate due to lack of oxygen. The impulse is to remove all the wet soil and replace it with dry soil. However, that is a mistake because removing soil also tears away many of the tiny root hairs that do most of the work and that is often fatal to the plant.
Overwatered plants should be left in their pots and the soil allowed to dry out naturally. Warm temps and good air circulation will help speed up the process. Once the soil has dried out appropriately, then normal watering can resume. If the roots have not been too severely damaged by the overwatering, then new growth should slowly emerge.
The recovery of your repotted plants depends on how much damage was done when you replaced the soil.