update autohadd for flat ntuples