handle changing neighbors