upate to tez 0.5.1