Update net_functions.php