update node class