add referral modified_on date to check_for_referrals