Updating tegh to 0.3.1