updated model with deviance estimation