Edit Simple Queue, Using Denis Basta's php api, plz help me

i am currently using the PHP API by Denis Basta…
and i successfully implemented this API to add and delete Simple Queue…

Now i need to edit the added queue ;
i am using following code to add simple queue

$ARRAY = $this->api_model->comm("/queue/simple/add", array(
                          "name"     => $somedata['name'],
                          "target-addresses"     => $ips,
                          "max-limit"=>$somedata['rx_max_limit']."/".$somedata['tx_max_limit'],
                          "parent"=>$parent_name,
        ));

how can i edit the simple queue by supplying queue name and its new parameters, i only need to update bandhwith of that specific simple queue, i only need to edit max limits of a simple queue;

Use the “set” command, and use the “numbers” argument to specify the name of the queue. All other arguments reflect the new values you wish said queue to have.

shaiesh…can you help with the php api queue connector .I wanna accomplish exactly same thing as you do..and i cant add rule to queue from my php..my code is something like this

I am trying to add a rule to queue simple and i am using php api to do that as follows:

example:

$API->comm("/queue/simple/add", array(
    "target-address="=> "10.10.10.16",
);

and its throwing error on the debug page :

Connected...
<<< [17] /queue/simple/add
<<< [28] =target-address==10.10.10.16
>>> [5/5] bytes read.
>>> [5, 35]!trap
>>> [26/26] bytes read.
>>> [26, 8]=message=unknown parameter
>>> [5/5] bytes read.
>>> [5, 1]!done

while all other api works just fine..thanks in advance.