add type to group