Update FactorySql.php