updated the path for loading the affiliate model