add attribute to join table