updating hibernate config