Update API.inc.php