Check out Tips for Rewriting a Digital Product by Roman Pichler. Here is an excerpt:
See the Rewriting Effort as an Opportunity to Innovate
A digital product is commonly redeveloped for two reasons: It has accumulated too much technical debt or its technologies are outdated, but the product is still needed—be it to generate revenue, support other revenue-generating products,…
The full article is available here.