Herewith I would like to share some information "How to update Custom Object using SOAP API?".
Step 1: Do the setup which is given on the URL below. This is the prerequisite for this topic.
Step 2: see my sample code which I provided in attachment.