update referrals path endpoint