public function rankSwitch($to)
    {
        $owner = $this->owner;
        $this->getSiblings()->andWhere([$this->attribute => $to])->one()->updateAttributes([
            $this->attribute => $this->owner->getAttribute($this->attribute)
        ]);
        $owner->updateAttributes([$this->attribute => $to]);
    }