Update ResourcesManager.java