updating CSS and index