changed the database to postgres