updating data-partitioning