update database.yml to use pg.