added the ability to set a role to a group