updata yaml-cpp usage