edit token generation for heroku