Update library to version 1.2