Prepare for update