updates css and index