Update index and styles