Deleted docs null check
Use events for updating cursor = big performance gain