add mem and delete mem, delete chat finished