indexing inputs updated