added updateNodesAlive