don't upgrade when update failed