delete index, add route