function upgrade(oldv, newv, done) {
    const tasks = [];
    for (let i = oldv; i < newv; i++) {
        tasks.push(upgrades[i]);
    }