Update ksocket.