update file /cloud/main.js