OSS does not support in-place editing of objects. How you update an object depends on how it was uploaded.
Objects uploaded by standard upload
To update an object, upload a new version using the PutObject operation.
Objects uploaded by append upload
Append upload is the exception: you can add data to the end of an existing appendable object without re-uploading it.