Changes manage groups

Instead of managing group by updating the whole set of group at once,
now groups can only be managed by one group at a time.