Corrected error changing modeltemplate on instance instead of model