do upgrade before everything else