Retore upgrade command