update before big changes to db