updated to 2.0.0 (the API changed from 1.x,
added notification events on almost all operations)