add before update to fill in empty name