Update Stagemanager.cs