update index, linting