modify grid data