Change struct of the grid