updates to flat ntupler