Bash update script remove wrong command