Update library in samples