Fixed updateNodes routine

Changed Save Var Definitions