working on edit event. ( endon date)