Added sample for demonstrating how locations of partitions can be updated