update factory to generate unique names and email