Update to library v2.