Updates a batch.
array $batch: The array representing the batch to update.
Overrides BatchStorageInterface::update
public function update(array $batch) {
$this->connection
->update('batch')
->fields(array(
'batch' => serialize($batch),
))
->condition('bid', $batch['id'])
->execute();
}