Update 'search' method