Update model.