update of model