@carlosmiranda I confirmed that we can not patch directly to the xpath ```content``` attribute. Here is data in ```storage``` after using your suggestion.
```
final String xpath = String.format(
                "/github/repos/repo[@coords='%s']/contents/content[path='%s']/content",
                this.coords, path
            );
            new JsonPatch(this.storage).patch(
                xpath,
                Json.createObjectBuilder()
                    .add("content", json.getString("content"))
                    .build()
            );
```
````
<content ref="master">
<name>content-to-update.txt</name>
<path>content-to-update.txt</path>
<content>Hello World!<content>update content</content>
</content>
```