Update TplManager.class.php