Update ResourceManager.py