update matching scan script