adding version to events