updated delegate

Removed deprecated delegate, added new one, added read me example for
new delegate