Update networkManager.py