updating friend_ids