Hello Ronny,
Use the sbo-service-atom instead of the sbo-api-atom.
Then create an entry in the attachment object (if not exists) including an line with an attachement.
Use the result for updating the documentattachment.
Check the di-api help for more info.
Kind Regards Teun