Added batchEdit() method