graph update

use reference instead