update label index