add upgrade command