add, update categorieLibrary fixed