Updated pgsql db