Update KeyValue.cpp