Edit the model