Class refactoring and update mechanism implemented in the new model based system