Update pct in main.js