Added UpdateNetworkHealth function.