switched db to PG