added upgrade command