CFY-643 added node_state property in ctx and in NodeInstance class; node update will now update node state too; modified *_node_state into *_node_instance