made the grid array of lists, updated the update()