Update NetworkManager.py