add index to routes