update convert to struts and hibernate