Fix crash when attempting to update.