Updated to use heroku compatible db