update connectsdk api