fix a bug in edit event. tags now are updated when an event is edited