updating memories
memories as submodule?