modify events.create and events.get