Update graph program