updated recommendation api to call recommender API