Update memo.cpp