bug fixed with updating events triggered in calendar