save node type