Updating SocialNetwork.java