Updated friend relationship between classes