now stores in both memory and mongo on all stages