public function refresh()
    {
        return static::findOne($this->getPrimaryKey(true))->then(
            function($record) {
                /* @var $record BaseActiveRecord */
                $result = $this->refreshInternal($record);
                return $result ? true : reject(false);
            }
        );
    }