fix update -> transform

* fixed bug on duplicate nodes in node set
* fixed several problems with potential match errors eyc