Update corenetwork.cpp