Update ObjectManager.cs