Better memory query (now value is actually updated; created new toolsMemory