Update library and used event