Update pro file and net.cpp