Update ks file