Update to use PostgreSQL