public void updateLibaryName(ILibrary library, String newName) {
   libaryPersister.updateLibraryName(db, library, newName);
   db.commit();
 }