replace routes