Update nodedef.cpp