Update CTM_Template.class.php