change database to use postgres