Update logofactory.js