update route generator to ask for url