update CSS and index