update neighbour flag in wpp