Update library with new API.