update rtr to include path and host