update pgsql connections