update KVCache

Did not implement transform part for XML from xml document to String