changed pre api url