Introduce upgrade command