add attribute to a group