Research on mice and flies has provided evidence for both memory and epigenetic triggers, but they are not necessarily the same thing.
In studies on mice and flies, researchers have been able to show that certain genes and neural pathways are involved in the formation and storage of memories. They have also been able to manipulate these genes and pathways to enhance or impair memory formation.
At the same time, these studies have also shown that epigenetic triggers can play a significant role in regulating gene expression and shaping neural networks, which can in turn affect memory formation and recall. For example, stress and other environmental factors can cause changes in DNA methylation and histone modification, which can alter the expression of genes involved in memory processes.
So while research on mice and flies has provided important insights into the mechanisms of memory formation and recall, it has also highlighted the complex interplay between genetic and environmental factors in shaping these processes.