added function to migrate all the batch names from the custom table into the option value  as well as alter the length of the batch_name field in the custom table