Update the groups