Updates index's content