update partitions