Update node type