Added an upgrade command.