updates to batch, plotting