    public static function update($vars)
    {
        if (is_array($vars)) {
            //$slug = Typo::slugify($vars['title']);
            //$vars = array_merge($vars, array('slug' => $slug));
            //print_r($vars);
            $id = Typo::int($_GET['id']);
            $ins = array(
                        'table' => 'posts',
                        'id' => $id,
                        'key' => $vars,
                    );
            $post = Db::update($ins);
            Hooks::run('post_sqladd_action', $vars, $id);

            if (Pinger::is_on()) {
                $pinger = Options::v('pinger');
                Pinger::run($pinger);
            }
        }

        return $post;
    }
The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.