updating index section