Update api-example.php