update for groupby on windows