Update grid.lua