updated app.jc and index