Preparing for changes in db