Update functions_API.php