add new library and upload index