change to new database.yml format