switch to heroku endpoint