rails-api update for heroku push