updates url host and protocol handlers