Fix graph update