index update

fucking header part of code messed up