edit php for memo