Added a check around updateInternalNameColumns to avoid errors when name is left blank.