updated content for index. text should be inserted