Fixed upgrade command.