update friends views logic