Edit model.