updated connector api