@dsw code transformation tools are a nice start but I expect you’ll generally have to think for yourself and do some work. In your specific case, where you depend on an ancient api, it’s probably more like a complete rewrite and you have to make some lifecycle / cost-benefit decisions. For starters, think about what the added value of the code is. And how well it is written. If you can refactor it in such a way that the valuable bits can be bolted on top of a more modern library. Etc.