fixed call to upgrade templates CRM-12002
Merge pull request #40 from kurund/upgrade-fixes

fixed call to upgrade templates CRM-12002