Fix dates and add event edit