updating index with instructions