Temp fix: mark node as dirty when its connections are updated

Otherwise AST node won't be generated for the graph node that changes connection from one input node to the other input node .