updating index and css