updated the view of the friend list