Update smart_listing.rb