Partition replace