Revamp index template