fixed unbinding events #8 and updated example