Update query block.php