Hi Sahithi,
Thank you for your update.
We have prepared the sample to meet your requirement of saved a updated document in to database using DocIO.
Please do find the sample from the attachment. Try running the sample and let us know if this helps you.
Please let us know if you have any other questions.
Regards,
Madhankumar
Sample_994c41d7.zip