In this paper, we propose a Round-Trip Engineering-based approach of optimizing the corrective, adaptive, evolutionary or perfective maintenance of applications on the OptimaDev, a MDA engine. It is a method which allows the automatic synchronization of updates between the model of an application and its source code when changes are brought vice-versa to the one or the other. The modifications made either on the model or in the source code and intervening after the source code generation from the MDA engines are not reflected mutually. In the context of the model-driven architectures (MDA), the ideal is to constantly have a model of the application which reflects its source code. Our approach helps to significantly reduce the quota of the total budget of the software development affected to maintenance.