Update resolverFactory.js