Freeradius + COA + PPPOE + mikrotik + Queue

I am trying to deploy a routine in freeradius to change the speeds of certain PPPoE connections without dropping the connection.
I could not find anything about it, because the best way is checked using the COA, but also did not understand how to set the speed of the connection, tried as follows:

accounting { 
   detail 
   unix 
   radutmp 
   sqlippool 
        sql1 
   exec 
   update coa { 
           User-Name = "%{User-Name}" 
           Acct-Session-Id = "%{Acct-Session-Id}" 
           NAS-IP-Address = "%{NAS-IP-Address}" 
           Framed-IP-Address = "%{Framed-IP-Address}" 
            Mikrotik-Rate-Limit = "256K/256K" 
   } 
   attr_filter.accounting_response 
}

but it did not work, someone has an idea of how to do?

hey didi you get any solution