Change index to dynamic content