Fix the update test for PostgreSQL