self made batch-updating