change company key for schedule tasks
update calendar when user switches from one document to another