What to do before updating