update for grid data