update event-chaning
update event name
add 'terminal' event