Update main class's location