Update network-functions.sh