Added comments to main.js that explain Theseus update process