update for output root file