update index.jsp file and create database folder