     POST 'subscriptions', xml, (err, res)->
       callback err, unless err then new models.Subscription res.subscription
 
-  @updateSubscription: (paymentMethodId, data, callback)->
+  @updateSubscription = (paymentMethodId, data, callback)->
     data.quantity ?= 1
     timeframe      = 'now'
 

    PUT "plans/#{data.code}", xml, (err, res)->
      callback err, unless err then new models.Plan res.plan

  @deletePlan: (data, callback)->
    DEL "plans/#{data.code}", callback

  #


      callback null, trans

  @createTransaction = (paymentMethodId, data, callback)->
    xml =
      """
      <transaction>
