Update agrinet.cpp