change example config
add type to events