Update textgenerator.class.php