Update grid.rb