Update library for API v2.