Update the api.php.