Update search

made inventory functions - updated search to add add_inv()