preparing the model changes