update group assignment