Update xpdogenerator.class.php