Updating the grid view