Updated StateManager.