execute an update before