update test scan method