update the model computation