upload last update to main.js