index main updated