To replace the motor enclosure on your motors simply remove the black clip on the bottom, pull on the enclosure to remove it from the motor and replace it with the new one.
Please note that this only includes the shaft-enclosure and no other parts of the motor.  If you need a complete motor, please see click here.