Updates to the model.