Update resourceManager.py