Update db populator to work with Postgres