updated the grid module