Updated hibernate configuration