update WPFNode,cs