add runbatch, and update