updates index and css