update library and index show library.