Update graph lib