update choose template bean, dao and jsp