increase size of batch details field to mediumtext; closes #520