changing the links on the responses to use ids