logic neighbours update