Changed objects and paused objects from vectors to maps