Docs for onUpdate & onError events for Counter