Update Templator.class.php