edit template for main.jsx