update 'model' to 'smartModel'