Added basics for an upgrade command.