The easiest way is to define a fragment and operation than contains your new data and call writeOperation with it as explained in Writing Operation data
If you feel more comfortable with Maps and do not need typesafe APIs, you can also use lower level accessCache APIs:
It’s low level APIs.
While they are working they come with a lot of potential footguns and it’s not something I would promote more than it actually is.