update ApiRequestor.php