update locator

Updates the the query text locator.