improve update process write error handling