update index and css