Added event editing and deletion