database changed to work with heroku