Add checking type for updating record with blank name