modify memo method