added a parameter to setChanged to be able to indicate that the model is now synchronized with the generated files