Update bcapi.php