refactored updating subscriptions based on event state
refactored change event states and submitting to main calendar
Merge branch 'event-sub' refactored event state and main calendar behavior