update components css to index css