Update graph style