update the library to work