Amend html on index