corrected the urls for data endpoints