update the runtime to support startObserving/disconnect