Adding the possibility of updating groups

I'm leaving the "self" reference, but it's useless.