added upgrade command to manager