public static function checkUpdate($request, $object)
    {
        $repo = new Tenant_Views_SpaRepository();
        $spa = $repo->get(new Pluf_HTTP_Request('/'), array(
            'modelId' => $object->name
        ));
        $object->last_version = $spa->version;
        $object->update();
        return $object;
    }