slicing for update