update function searchHotels() in hotel.js