update john scraper with sql logic