update before scanner