updated index and css rules