added event add
fixed edit event