working update of grid