Change api from local to heroku