adding route setter in IndexQuery