add 'NOT EXISTS' to update WHERE clause