updated the social network repository