add global event  edit trigger event