memory graph update