update before experiment