fix update scripts