Updating the recommendation class