Update library not working