bugfix
bugfix for update group in group.by