fixed another typo. for now neighbors are updated every iteration