If we remove the case here, we still need this logic in updateDetails.