change routes so as to be nested