update connector api