Modified the relationship and added new relations to handle the friendships