updated friends api