update model evaluation function