Implemented batch writes
Support retries on wrong version
Added OnLink Event example
On Event wired up