Show Custom Doctype under existing Modules

The custom doctypes have been created in Custom App but when I want to list it under existing groups like Accounting section under Getting Started, I have to make changes in the core code as per Display Custom Doctype in Module
This customisation is causing a conflict while updating