Update grid.php