add setting onDestroy, update readme.md