index updated with carousel