fix update bash script