update for Library.search()