preparing for update