update before wrapper change