updating database.yml to use postgres