change hibernate config to update