Fixes #3. Updating is now triggered from other editors after switching tabs.