update before backup