updated the group and ungroup button