update ApiHelper.php, parameters-dist.ini