[TASK] update batch_assign to batch_empty