Update write socket process.