implement update of library and manage library icon