updateLibraryOptions

Update library options.