Fix double 'batchUpdates'