update slice by locator