add update_partition file