updating index content