refactor in dType client.js
also small improvements in updater.js