change index to md