public function updateMeta($key, $value)
    {
        if ($meta = $this->getMeta($key)) {
            $meta->value = $value;

            return $meta->save();
        }

        return false;
    }
public function updateMeta($key, $value)
    {
        if ($meta = $this->getMeta($key)) {
            $meta->value = $value;

            return $meta->save();
        }

        return false;
    }
public function updateMeta ( $ key , $ value ) { if ( $ meta = $ this -> getMeta ( $ key ) ) { $ meta -> value = $ value ; return $ meta -> save ( ) ; } return false ; }
Update meta.

@param  string $key
@param  mixed $value
@return object|bool
Update meta .