fix connect update issue