updateNeighborhood