Update connectNstatic.cpp