added options parameter for two endpoint in events
update version