chang event and add write