more rest api friends changes