Updates db to comply with heroku