added edit functionality to friends