adds detail routes