upgrading hibernate