update totalNetworkValue and totalValueSent