update template for main.jsx