Both Eaton and Square D have retro kits for replacing old panels. Some of these kits are guts only or the whole panel fitting in an old small space.
See the attached link to Eaton retro kit, I will post the Square D one when I find it.
Till next time be safe work safe.
Jake