updated index rendering