edit event validation