Update networktools.php