Update jsp index page use controller methods.