fix bug in Batch.addUpdateRequests