Styling and updating index