Update BlockAPI.php