upgrade versions of spring and hibernate