This API is used to update existing actions using an ID of a WoopraAction. The ID of the action will be generated on the client-side as:

idptnc = action.id

This example is updating an existing action in Woopra with the property "category."

woopra.update(
  action.id,
  { category: 'home' }
);