add basic support to events fix #45
upgrade version