updated index and additem, passing html lint