edit location-grid structure