update NetworkUtils.