Update get_blocks.php