Update api_blocks.php