update before work