updating memories