Update the reference of the library