Update libraries Generator.php