Upgrade hibernate