update css and index