es6 upgrade