implemented sync protocol using event's "version" and "modified" attributes