upgrade the library