change postgresql and prepare to heroku