Added new public function which updates all events in calendar