update factory to public