I pull the old bearings out using a combo of an old front QR skewer, and a selection of various socket set ends. Hard to discribe how it works with out pics but here goes..
Skewer….. with selction of larger than the bearing to be pulled out socket sets resting against frame / swingarm etc …. bearing to be pulled out….. smaller socket( or just Skewer cap) set to nest against inside of bearing.
wind up all the slack on the QR lever..BUT have the QR lever in the open position..
When all slack taken up, close the QR lever…this action wil pull bearing out of frame. Depending on depth of bearing, you might have to repeat this step a few times.