update the way resourceWatcher handler url is computed