Insert correct value into database for network stats