Update nameFactory.js