Update index and sidebar