Update ApiHelper.php