updated linear model