Update NetConnection class.