修改type到 library_type