Update Router with new traverse code