update before test