update index and stylesheet