Update memory-services.js