update view for friend edit page