I have posted this before but finally took some pictures of the process. I never beat out races out my hubs because it always damages the "seat" where the races press against and it can cock the race as a result.
If you run a bead around the race and let it cool, it will shrink and you can push the race out by hand and never touch it with a tool. If it won't come, run another bead.
The picture with the pencil shows the lip that gets damaged when you beat them out with a drift and hammer.
To reinstall, I heat the hub with an oven or sometimes my torch with a large rose bud. I have the press set up with all the tools ready so they can be quickly installed.
Click to view attachmentClick to view attachment