hibernate config to update mode