update grid.php demo