fixing error updating Affiliate doc with proper prefixes, removing test URL from code