Updating k-dog file