tested update location and sub grid.