Update of model