Update graph and nmr libraries