public static function update($pk, $fields)
    {
        return static::getDb()->table(static::getTableName())
            ->where(static::getDb()->getTablePk(static::getTableName()) . ' = :pk')
            ->setParam(':pk', $pk)
            ->update($fields);
    }