update scripts under 3.17