Added upgrade command.