update partitionwrap