update model type