add upgrade cmd