index and header update